{% extends "projects/project_edit_base.html" %}
{% load i18n %}

{% block project-edit-active %}active{% endblock %}
{% block nav-dashboard %} class="active"{% endblock %}


{% block title %}{% trans "Edit Project" %}{% endblock %}

{% block editing-option-edit-proj %}class="active"{% endblock %}
{% block editing-option-view %}active{% endblock %}

{% block project_edit_content_header %}{% trans "Settings" %}{% endblock %}

{% block project_edit_content %}
  <form method="post" action=".">{% csrf_token %}
    {{ form.as_p }}
    <p>
      <input style="display: inline;" type="submit" value="{% trans "Save" %}">
      {% trans "or" context "The 'or' is in between 'Save' and 'Delete project'" %}
       <a href="{% url "projects_delete" project.slug %}">{% trans "Delete project" %}</a>
    </p>
  </form>
{% endblock %}
